package lib

const (
	ValidatorKey  = "ValidatorKey"  // 验证器
	TranslatorKey = "TranslatorKey" // 翻译器
)

// 队列推送结构体
type QueueMsgData struct {
	Api       string      `json:"api"`
	Version   string      `json:"version"`
	TimeStamp int64       `json:"timestamp"`
	Data      interface{} `json:"data"`
}

// 公司内部服务 签名验证 通用请求表单
type Sign struct {
	Ts   string `form:"_ts" binding:"required"`
	Rd   string `form:"_rd" binding:"required"`
	Sign string `form:"_sign" binding:"required"`
}
